﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Epilog.Core.Model
{
    public class Blog
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int BlogId { get; set; }
        public string BlogName { get; set; }

        public ICollection<BlogMedia> Media { get; set; }
        public ICollection<BlogPost> Posts { get; set; }
        public ICollection<BlogTag> Tags { get; set; }
    }
}
